package com.hefeng.wx.domain.entity;

import java.util.List;

public class CityCodeEntity {
    private String cityName;
    private String cityCode;
    private String url;
    List<AreaCodeEntity> areaCodeEntities;

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<AreaCodeEntity> getAreaCodeEntities() {
        return areaCodeEntities;
    }

    public void setAreaCodeEntities(List<AreaCodeEntity> areaCodeEntities) {
        this.areaCodeEntities = areaCodeEntities;
    }

    public String toString() {
        return String.format("%s:  %s", cityName, cityCode);
    }
}
